package com.smile.weather2.url;

/**
 * 网址
 * Created by smile on 2016/8/24.
 */
public class Urls {
    public final static String BASE_URL = "https://api.heweather.com/x3/";
    /**
     * key
     */
    public final static String KEY = "03b2c28b76cf43b7857d7a253bef1420";
    /**
     * 获取国内城市、景点
     * 需要加上参数search(allchina表示国内城市, allattractions表示国内景点)
     */
    public final static String ALLCHINA_URL = "citylist?key=" + KEY;
    /**
     * 天气接口
     * 需要加上path(weather表示通过城市id查， attractions表示通过景点id查)
     * 需要加上参数cityid="城市(景点)id"
     */
    public final static String WEATHER_URL = "{path}?key=" + KEY;
}
